Package-level declarations

Types

Link copied to clipboard

Optional capability for cache-backed ElevationSourceFactorys: read one tile from the local cache only, never touching the network. Lets a coverage serve cached tiles without spending a slot in the (small) network-retrieval budget, so a slow network DEM fetch for one uncached tile can't stall cached neighbours behind it. Returns a fully built ElevationImage on a cache hit, or null on a cache miss / decode failure.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect class ElevationSource
actual open class ElevationSource : AbstractSource
actual open class ElevationSource : AbstractSource

Provides a mechanism for specifying elevations from a variety of sources.
ElevationSource supports following source types:

actual open class ElevationSource : AbstractSource

Provides a mechanism for specifying elevations from a variety of sources.
ElevationSource supports following source types:

Link copied to clipboard
Link copied to clipboard
data class TileSourceElevationRef(val source: TileSource, val z: Int, val x: Int, val y: Int, val outputFormat: String)

Adapter that lets an ElevationSource carry a TileSource reference + decode format.

Link copied to clipboard
class TileSourceElevationSourceFactory(val source: TileSource, val outputFormat: String, val contentType: String = "TileSource") : ElevationSourceFactory

ElevationSourceFactory that adapts a TileSource for the elevation pipeline. Each createElevationSource(matrix, row, col) returns an ElevationSource whose raw source is a TileSourceElevationRef; the platform's elevation retrieval path detects this and fetches bytes through source.